package bloodfang.gui;

import bloodfang.StatBlock;

public class Item extends StatBlock {
	
	private int id;
	private int itemLevel;
	private int quality;
	private String name;
	private String tag;
	private String icon;
	private String tooltip;
	private boolean upgradable;
	private int itemClass;
	private int itemSubClass;
	private int inventorySlot;
	
	// weapon
	private double dps;
	private int minDmg;
	private int maxDmg;
	private double speed;
	
	// sockets
	private int numSockets;
	private int[] sockets = new int[3];
	
	public int getId() {
		return id;
	}
	public int getItemLevel() {
		return itemLevel;
	}
	public int getQuality() {
		return quality;
	}
	public String getName() {
		return name;
	}
	public String getTag() {
		return tag;
	}
	public String getIcon() {
		return icon;
	}
	public String getTooltip() {
		return tooltip;
	}
	public boolean isUpgradable() {
		return upgradable;
	}
	public int getItemClass() {
		return itemClass;
	}
	public int getItemSubClass() {
		return itemSubClass;
	}
	public int getInventorySlot() {
		return inventorySlot;
	}
	public double getDps() {
		return dps;
	}
	public int getMinDmg() {
		return minDmg;
	}
	public int getMaxDmg() {
		return maxDmg;
	}
	public double getSpeed() {
		return speed;
	}
	public int getNumSockets() {
		return numSockets;
	}
	public int[] getSockets() {
		return sockets;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setItemLevel(int itemLevel) {
		this.itemLevel = itemLevel;
	}
	public void setQuality(int quality) {
		this.quality = quality;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public void setTooltip(String tooltip) {
		this.tooltip = tooltip;
	}
	public void setUpgradable(boolean upgradable) {
		this.upgradable = upgradable;
	}
	public void setItemClass(int itemClass) {
		this.itemClass = itemClass;
	}
	public void setItemSubClass(int itemSubClass) {
		this.itemSubClass = itemSubClass;
	}
	public void setInventorySlot(int inventorySlot) {
		this.inventorySlot = inventorySlot;
	}
	public void setDps(double dps) {
		this.dps = dps;
	}
	public void setMinDmg(int minDmg) {
		this.minDmg = minDmg;
	}
	public void setMaxDmg(int maxDmg) {
		this.maxDmg = maxDmg;
	}
	public void setSpeed(double speed) {
		this.speed = speed;
	}
	public void setNumSockets(int numSockets) {
		this.numSockets = numSockets;
	}
	public void setSockets(int[] sockets) {
		this.sockets = sockets;
	}
	public void setSocket(int i,int socket){
		this.sockets[i] = socket;
	}
}
